package com.spring.util;

import com.spring.service.BeanService;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.PostConstruct;

public class NoIocUtil {

    @Autowired
    private BeanService beanService;


    public NoIocUtil(){

    }

    public NoIocUtil(Integer cc){

    }

    @PostConstruct
    public void init(){
        System.out.println("NoIocUtil --  PostConstruct");
        beanService.test();
    }
}
